﻿//Enemy

package  {
	import flash.display.Sprite;
	import flash.events.Event;

	public class Enemy extends Role {
		
		public function Enemy(t:Target, s:Number) {
			
			Side = "EVIL";
			target = t;
			speed = s;
			
			graphics.lineStyle(1, 0xffffff);
			graphics.drawCircle(0, 0, 5);
			
			addEventListener(Event.ENTER_FRAME, moveToTarget);
		}
		
	}
	
}
